When we're reloading the theme in ensure_valid_themes (due to noticing
that a theme dir has changed) we need to also clear the icon cache
as it will not be valid for the new theme.
We already do this in do_theme_change(), but ensure_valid_themes()
was missing this.
https://bugzilla.gnome.org/show_bug.cgi?id=702598
if (ABS (tv.tv_sec - priv->last_stat_time) > 5 &&
rescan_themes (icon_theme))
- blow_themes (icon_theme);
+ {
+ g_hash_table_remove_all (priv->info_cache);
+ blow_themes (icon_theme);
+ }
}
if (!priv->themes_valid)